package com.jiang.vo;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class News implements Serializable {

	private Integer nid;
	private String title;
	private Double price;
	private Date pubdate;
	private String email;

	public News(Integer nid, String title, Double price, Date pubdate, String email) {
		super();
		this.nid = nid;
		this.title = title;
		this.price = price;
		this.pubdate = pubdate;
		this.email = email;
	}

	public News() {

	}

	public Integer getNid() {
		return nid;
	}

	public void setNid(Integer nid) {
		this.nid = nid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Date getPubdate() {
		return pubdate;
	}

	public void setPubdate(Date pubdate) {
		this.pubdate = pubdate;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "News [nid=" + nid + ", title=" + title + ", price=" + price + ", pubdate=" + pubdate + ", email="
				+ email + "]";
	}

	
}
